namespace B.S.NewMedical.Api.Read.DTOS
{
    /// <summary>
    /// 问诊单分页显示DTO
    /// </summary>
    public class ConsultationPageDisplayDto
    {
        /// <summary>
        /// 问诊单ID
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 患者姓名
        /// </summary>
        public string PatientName { get; set; }

        /// <summary>
        /// 患者手机号（脱敏显示）
        /// </summary>
        public string PatientPhoneMasked { get; set; }

        /// <summary>
        /// 医生姓名
        /// </summary>
        public string DoctorName { get; set; }

        /// <summary>
        /// 科室名称
        /// </summary>
        public string DepartmentName { get; set; }

        /// <summary>
        /// 问诊日期
        /// </summary>
        public DateTime ConsultationDate { get; set; }

        /// <summary>
        /// 问诊方式
        /// </summary>
        public string Method { get; set; }

        /// <summary>
        /// 问诊来源
        /// </summary>
        public string Source { get; set; }

        /// <summary>
        /// 问诊费
        /// </summary>
        public string ConsultationPrice { get; set; }

        /// <summary>
        /// 订单状态
        /// </summary>
        public string OrderStatus { get; set; }

        /// <summary>
        /// 状态显示文本
        /// </summary>
        public string StatusText { get; set; }

        /// <summary>
        /// 状态颜色（用于前端显示）
        /// </summary>
        public string StatusColor { get; set; }

        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

        /// <summary>
        /// 是否为新记录（24小时内创建）
        /// </summary>
        public bool IsNew { get; set; }

        /// <summary>
        /// 是否已过期（超过7天）
        /// </summary>
        public bool IsExpired { get; set; }

        /// <summary>
        /// 格式化问诊日期
        /// </summary>
        public string FormattedConsultationDate { get; set; }

        /// <summary>
        /// 格式化创建时间
        /// </summary>
        public string FormattedCreateTime { get; set; }
    }
} 